// pages/components/liveComponents/liveComponents.js
const app = getApp();
Component({
  properties: {
    'componentInfo': {
      type:Object,
      value: ''
    },
  },
  data: {

  },
  methods: {
    toLiverPrediction: function (e) {
      var roomId = e.currentTarget.dataset.id;
      var title = e.currentTarget.dataset.title;
      console.log(roomId);
      wx.navigateTo({
        url: '/subpages0/liverPrediction/liverPrediction?roomId=' + roomId + '&title=' + title,
      })
    },
  }
})
